
<form id="form_batch_order" action="/index.php/Admin/Task/batch_order_do" method="post">
<div class="pad-10">

	<div class="navigate">
		<h1>订单列表</h1>
		<a class="button fr" href="/index.php/Admin/Task/">任务列表</a>
  	</div>
  	
  	
<div class="col-tab">

<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on" onclick="SwapTab('setting','on','',2,1);">订单列表</li>
	<li id="tab_setting_2" class="" onclick="SwapTab('setting','on','',2,2);">生成订单</li>
</ul>



<!-- 订单列表 -->
<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">

	<tr>
		<th>订单编号</th>
		<th>刷手</th>
		<th>帐号</th>
		<th>登录密码</th>
		<th>支付密码</th>
		<th>下单URL</th>
		<th>订单号</th>
		<th>快递公司</th>
		<th>快递单号</th>
		<th>收货人</th>
		<th>收货地址</th>
		<th>电话</th>
		<th>产品链接</th>
		<th>产品名称</th>
		<th>关键词</th>
		<th>购买量</th>
		<th>刷单价</th>
		<th>最终价</th>
		<th>实际总金额</th>
		<th>用券金额</th>
		<th>券后金额</th>
		<th>运费</th>
		<th>评论</th>
		<th>备注</th>
	</tr>

	<volist name="orders" id="o" >
	<tr>
		<td>
		
			<input type="text" id="order_id-{o.order_id}" name="order_id" value="{$o.order_id}" />
		</td>
		<td>
			<input type="text" id="real_name-{o.order_id}" name="real_name" value="{$o.real_name}" />
			
		</td>
		<td>
			<input type="text" id="member_name-{o.order_id}" name="member_name" value="{$o.member_name}" />
		
		</td>
		<td>
			<input type="text" id="member_pwd-{o.order_id}" name="member_pwd" value="{$o.member_pwd}" />
		
		</td>
		<td>
			<input type="text" id="member_pay_pwd-{o.order_id}" name="member_pay_pwd" value="{$o.member_pay_pwd}" />
		
		</td>
		<td>
			<input type="text" id="goods_url-{o.order_id}" name="goods_url" value="{$o.goods_url}" />
		
		</td>
		<td>
			<input type="text" id="order_sn-{o.order_id}" name="order_sn" value="{$o.order_sn}" />
		
		</td>
		<td>	
			<input type="text" id="shipping_id-{o.order_id}" name="shipping_id" value="{$o.shipping_id}" />
		
		</td>
		<td>
			<input type="text" id="invoice_no-{o.order_id}" name="invoice_no" value="{$o.invoice_no}" />
		
		</td>
		<td>
			<input type="text" id="consignee-{o.order_id}" name="consignee" value="{$o.consignee}" />
		
		</td>
		<td>
			<input type="text" id="address-{o.order_id}" name="address" value="{$o.address}" />
		
		</td>
		<td>
			<input type="text" id="mobile_phone-{o.order_id}" name="mobile_phone" value="{$o.mobile_phone}" />
		
		</td>
		<td>
			<input type="text" id="goods_url-{o.order_id}" name="goods_url" value="{$o.goods_url}" />
		
		</td>
		<td>
			<input type="text" id="goods_name-{o.order_id}" name="goods_name" value="{$o.goods_name}" />
		
		</td>
		<td>
			<input type="text" id="keywords-{o.order_id}" name="keywords" value="{$o.keywords}" />
		
		</td>
		<td>
			<input type="text" id="goods_number-{o.order_id}" name="goods_number" value="{$o.goods_number}" />
		
		</td>
		<td>
			<input type="text" id="goods_amount-{o.order_id}" name="goods_amount" value="{$o.goods_amount}" />
		
		</td>
		<td>最终价</td>
		<td>
			<input type="text" id="paid_amount-{o.order_id}" name="paid_amount" value="{$o.paid_amount}" />
		
		</td>
		<td>
			<input type="text" id="bonus_money-{o.order_id}" name="bonus_money" value="{$o.bonus_money}" />
		
		</td>
		<td>券后金额</td>
		<td>
			<input type="text" id="shipping_fee-{o.order_id}" name="shipping_fee" value="{$o.shipping_fee}" />
		
		</td>
		<td>
			<input type="text" id="comment-{o.order_id}" name="comment" value="{$o.comment}" />
		
		</td>
		<td>
			<input type="text" id="remeark-{o.order_id}" name="remeark" value="{$o.remeark}" />
		
		</td>
	</tr>
	</volist>
</table>
</div>
<!-- 生成订单 -->


<!-- 生成订单 -->
<div id="div_setting_2" class="contentList pad-10 hidden">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">

	<tr>
		<th width="100">产品链接:</th>
		<td>
			
			<input type="text" name="goods_url" id="goods_url" class="input-text"
			value="" style="width:300px;">
          	
		</td>
		<th></th>
	</tr>

	<tr>
		<th width="100">产品名称:</th>
		<td>
			<input type="text" name="goods_name" id="goods_name" class="input-text"
			value="" style="width:300px;">
		</td>
	</tr>
	
	<tr>
		<th width="100">关键词:</th>
		<td>
		
			<input type="text" name="keywords" id="keywords" class="input-text"
			value="" style="width:300px;" >

		</td>
	</tr>
	
	<tr>
		<th width="100">刷单量:</th>
		<td>
		
			<input type="text" name="goods_number" id="goods_number" class="input-text"
			value="" style="width:300px;" >

		</td>
	</tr>
	
	<tr>
		<th width="100">刷单价:</th>
		<td>
		<input type="text" name="goods_price" id="goods_price" class="input-text"
			value="" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">最终价:</th>
		<td>
		<input type="text" name="final_price" id="final_price" class="input-text"
			value="" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">评论内容:</th>
		<td>
		<input type="text" name="remark" id="remark" class="input-text"
			value="" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">批量生成数量:</th>
		<td>
		<input type="text" name="add_count" id="add_count" class="input-text"
			value="" style="width:300px;">
		</td>
	</tr>
</table>
</div>
<!-- 生成订单 -->


<div class="bk15"></div>
<div class="btn"><input type="submit" class="button" value="生成" id="btnSubmit" /></div>
</div>
</div>

<input type="hidden" name="task_id" value="{$id}" />

</form>

<script type="text/javascript" src="/Js/common.js"></script>
<script type="text/javascript" src="/Js/jquery.form.js"></script>
<script type="text/javascript" src="/Js/adm/task/batch_order.js"></script>